package com.itx.gatewayx.filter;

import org.springframework.stereotype.Component;
import org.springframework.web.server.ServerWebExchange;
import org.springframework.web.server.WebFilter;
import org.springframework.web.server.WebFilterChain;
import reactor.core.publisher.Mono;

/**
 * JWT认证过滤器（已废弃，由CustomAuthFilter代替）
 * 此类只是为了兼容性保留，不做任何实际工作
 *
 * @author itx
 * @see CustomAuthFilter
 */
@Component
public class JwtAuthenticationFilter implements WebFilter {
    
    @Override
    public Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain) {
        // 直接传递给下一个过滤器
        return chain.filter(exchange);
    }
} 